package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 车辆pdi订单
 * </p>
 *
 * @author caoYong
 * @since 2019-08-14
 */
@Data
@TableName("pms_vehicle_pdi_bill")
@ApiModel(value="VehiclePdiBill对象", description="车辆pdi订单")
public class VehiclePdiBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "PDI_BILL_ID", type = IdType.UUID)
    private String pdiBillId;

    @ApiModelProperty(value = "渠道商代码")
    @TableId("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "PDI单号")
    @TableField("PDI_BILL_NO")
    private String pdiBillNo;

    @ApiModelProperty(value = "订单类型1厂端2店端")
    @TableField("PDI_BILL_TYPE")
    private Integer pdiBillType;

    @ApiModelProperty(value = "VIN码")
    @TableField("VIN")
    private String vin;

    @ApiModelProperty(value = "检测工时")
    @TableField("WORK_HOURS")
    private String workHours;

    @ApiModelProperty(value = "检测人")
    @TableField("CHECKER")
    private String checker;

    @ApiModelProperty(value = "检测时间")
    @TableField("CHECK_DATE")
    private Date checkDate;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "状态单据状态")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "单据状态(Pdi_OrderStatus,1新建,2通过,3未通过)")
    @TableField("CHECK_STATUS")
    private String checkStatus;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "PDI图片路径")
    @TableField("CHECK_PIC")
    private String checkPic;

    @ApiModelProperty(value = "故障描述")
    @TableField("ERROR_DESC")
    private String errorDesc;

    @ApiModelProperty(value = "物流交接人员")
    @TableField("TMS_HANDLER")
    private String tmsHandler;

    @ApiModelProperty(value = "接车人")
    @TableField("VEHICLE_HANDLER")
    private String vehicleHandler;

    @ApiModelProperty(value = "库管")
    @TableField("STORAGE_MANAGER")
    private String storageManager;

}
